package ejb.contentManagement;

import java.util.List;

import ejb.dto.NationDTO;

public interface NationMgr {

	/**
	 * Return all NationDTO
	 * @return all NationDTO
	 */
	List<NationDTO> getAllNationsDTO();

	/**
	 * Return NationDTO of Nation identified by <code>id</code>
	 * @param id
	 * @return NationDTO
	 */
	NationDTO getNationDTO(int id);

	/**
	 * Delete Nation identified by <code>id</code> from database
	 * @param id
	 * @return <true> if the operation on database is successful, <false> if not
	 */
	boolean deleteNation(int id);

	/**
	 * Update Nation identified by <code>updatedNation</code> in database
	 * @param updatedNation
	 * @return <true> if the operation on database is successful, <false> if not
	 */
	boolean updateNation(NationDTO updatedNation);

	/**
	 * Insert Nation identified by <code>newNation</code> in database
	 * @param newNation
	 * @return <true> if the operation on database is successful, <false> if not
	 */
	boolean insertNation(NationDTO newNation);

}
